package kandao.model_design.create.abstract_factory.factories;

import kandao.model_design.create.abstract_factory.buttons.Button;
import kandao.model_design.create.abstract_factory.buttons.WindowsButton;
import kandao.model_design.create.abstract_factory.checkboxes.Checkbox;
import kandao.model_design.create.abstract_factory.checkboxes.WindowsCheckbox;

/**
 * @author hll
 * 2023/5/4
 * 描述
 **/
public class WindowsFactory implements GUIFactory {

    @Override
    public Button createButton() {
        return new WindowsButton();
    }

    @Override
    public Checkbox createCheckbox() {
        return new WindowsCheckbox();
    }
}
